|
Eclipse Platform Pre-release 3.0 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Describes a reference provider for the quick diff facility. Any extension to the
quickdiff.referenceprovider
extension point has to provide a class implementing
this interface.
Extenders must provider a zero-arg constructor in order for the plug-in class loading mechanism to work.
Method Summary | |
boolean |
isEnabled()
Gives the implementation a hook to publish its enablement. |
void |
setActiveEditor(ITextEditor editor)
Sets the active editor for the provider implementation. |
void |
setId(String id)
Sets the id of this implementation. |
Methods inherited from interface org.eclipse.ui.texteditor.quickdiff.IQuickDiffReferenceProvider |
dispose, getId, getReference |
Method Detail |
public void setActiveEditor(ITextEditor editor)
editor
- the active editor.public boolean isEnabled()
false
if the implementation cannot be executed, true
if it can,
or if it cannot be decided yet.public void setId(String id)
id
will be set to the Id
attribute specified in the extension's
declaration.
id
- the provider's new id.
|
Eclipse Platform Pre-release 3.0 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |